﻿// =================================================================== 
// 项目说明
//====================================================================
// SunCity@Copy Right 2006-2008
// 文件： Menus.cs
// 项目名称：
// 创建时间：2015/3/18
// 负责人：
// ===================================================================
using System;
namespace EMS20.Entity
{
	/// <summary>
	///Menus数据实体
	/// </summary>
	[Serializable]
	public class MenusEntity
	{
		#region 变量定义
		///<summary>
		///菜单编号
		///</summary>
		private int _m_id;
		///<summary>
		///父级菜单编号
		///</summary>
		private int _m_parent_mid;
		///<summary>
		///菜单名称
		///</summary>
		private string _m_name = String.Empty;
		///<summary>
		///菜单地址
		///</summary>
		private string _m_url = String.Empty;
		///<summary>
		///排序编号
		///</summary>
		private int _m_sortid;
		///<summary>
		///0:正常 1：停用
		///</summary>
		private int _m_status;
		///<summary>
		///菜单图标
		///</summary>
		private string _m_picname = String.Empty;
		///<summary>
		///菜单级别 0:根菜单 1一级菜单 2:二级菜单
		///</summary>
		private int _m_level;
		///<summary>
		///备注说明此菜单的信息
		///</summary>
		private string _m_remark = String.Empty;
		///<summary>
		///备用字段
		///</summary>
		private string _m_exp1 = String.Empty;
		///<summary>
		///备用字段
		///</summary>
		private int _m_exp2;
		///<summary>
		///
		///</summary>
		private DateTime _m_add_time = Convert.ToDateTime("1900 - 1 - 1");
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public MenusEntity()
		{
		}
		///<summary>
		///
		///</summary>
		public MenusEntity
		(
			int m_id,
			int m_parent_mid,
			string m_name,
			string m_url,
			int m_sortid,
			int m_status,
			string m_picname,
			int m_level,
			string m_remark,
			string m_exp1,
			int m_exp2,
			DateTime m_add_time
		)
		{
			_m_id         = m_id;
			_m_parent_mid = m_parent_mid;
			_m_name       = m_name;
			_m_url        = m_url;
			_m_sortid     = m_sortid;
			_m_status     = m_status;
			_m_picname    = m_picname;
			_m_level      = m_level;
			_m_remark     = m_remark;
			_m_exp1       = m_exp1;
			_m_exp2       = m_exp2;
			_m_add_time   = m_add_time;
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///菜单编号
		///</summary>
		public int m_id
		{
			get {return _m_id;}
			set {_m_id = value;}
		}

		///<summary>
		///父级菜单编号
		///</summary>
		public int m_parent_mid
		{
			get {return _m_parent_mid;}
			set {_m_parent_mid = value;}
		}

		///<summary>
		///菜单名称
		///</summary>
		public string m_name
		{
			get {return _m_name;}
			set {_m_name = value;}
		}

		///<summary>
		///菜单地址
		///</summary>
		public string m_url
		{
			get {return _m_url;}
			set {_m_url = value;}
		}

		///<summary>
		///排序编号
		///</summary>
		public int m_sortid
		{
			get {return _m_sortid;}
			set {_m_sortid = value;}
		}

		///<summary>
		///0:正常 1：停用
		///</summary>
		public int m_status
		{
			get {return _m_status;}
			set {_m_status = value;}
		}

		///<summary>
		///菜单图标
		///</summary>
		public string m_picname
		{
			get {return _m_picname;}
			set {_m_picname = value;}
		}

		///<summary>
		///菜单级别 0:根菜单 1一级菜单 2:二级菜单
		///</summary>
		public int m_level
		{
			get {return _m_level;}
			set {_m_level = value;}
		}

		///<summary>
		///备注说明此菜单的信息
		///</summary>
		public string m_remark
		{
			get {return _m_remark;}
			set {_m_remark = value;}
		}

		///<summary>
		///备用字段
		///</summary>
		public string m_exp1
		{
			get {return _m_exp1;}
			set {_m_exp1 = value;}
		}

		///<summary>
		///备用字段
		///</summary>
		public int m_exp2
		{
			get {return _m_exp2;}
			set {_m_exp2 = value;}
		}

		///<summary>
		///
		///</summary>
		public DateTime m_add_time
		{
			get {return _m_add_time;}
			set {_m_add_time = value;}
		}
	
		#endregion
		
	}
}
